package com.mall.module.product.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 新品专区VO
 */
@Builder
@Data
@ApiModel("新品专区VO")
public class NewProductVO {
    @ApiModelProperty("SPU ID")
    private Long spuId;

    @ApiModelProperty("SPU名称")
    private String spuName;

    @ApiModelProperty("商品主图")
    private String mainImage;

    @ApiModelProperty("SPU状态(1:上架,2:审核中)")
    private Integer spuStatus;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("SKU ID")
    private Long skuId;

    @ApiModelProperty("SKU编码")
    private String skuCode;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("库存")
    private Integer stock;

    @ApiModelProperty("分类名称")
    private String categoryName;

    @ApiModelProperty("品牌名称")
    private String brandName;
}

